package com.gt.service;

import com.gt.pojo.PageResult;
import com.gt.pojo.dto.EmployeeDTO;
import com.gt.pojo.dto.EmployeeLoginDTO;
import com.gt.pojo.dto.EmployeePageQueryDTO;
import com.gt.pojo.entity.Employee;

public interface EmployeeService {
    Employee login(EmployeeLoginDTO employeeLoginDTO);

    void save(EmployeeDTO employeeDTO);

    PageResult pageQuery(EmployeePageQueryDTO employeePageQueryDTO);

    Employee getById(Long id);

    void update(EmployeeDTO employeeDTO);

    void deleteById(Long id);
}
